<template>
  <h3>我是Test组件</h3>
<h2>当前鼠标的x坐标为:{{point.x}},y坐标为:{{point.y}}</h2>
</template>

<script>
import usePoint from '../hooks/UsePoint'
export default {
  name: "Test",
  setup(){
    let  point =usePoint()
    return{
      point
    }
  },
}
</script>

<style scoped>

</style>